package org.dromara.system.service;

import org.dromara.common.core.provider.I18nConfigService;
import org.dromara.system.domain.SysI18nConfig;
import org.dromara.system.domain.vo.SysConfigVo;
import org.dromara.system.domain.vo.SysI18nConfigVo;
import org.dromara.system.domain.bo.SysI18nConfigBo;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import org.springframework.transaction.annotation.Transactional;

import java.util.Collection;
import java.util.List;
import java.util.function.Function;

/**
 * 国际化配置Service接口
 *
 * @author yilong.fu
 * @date 2024-11-06
 */
public interface ISysI18nConfigService extends IService<SysI18nConfig, SysI18nConfigBo, SysI18nConfigVo>, I18nConfigService {

    Boolean insertOrUpdateByBo(SysI18nConfigBo bo);

    /**
     * 导入列表
     *
     * @param datas
     * @param mode
     * @param updatePart
     * @return
     */
    List<SysI18nConfigVo> importList(List<SysI18nConfigVo> datas, Integer mode, boolean updatePart);

}
